package com.neuedu.service.impl;

import com.neuedu.bean.Book;
import com.neuedu.mapper.BookMapper;
import com.neuedu.service.BookService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BookServiceImpl implements BookService {

    @Autowired
    BookMapper bookMapper;

    @Override
    public List<Book> selectAllBook() {
        System.out.println("selectAllBookService.............");
        return bookMapper.selectAllBook();
    }
}
